<?php
// +----------------------------------------------------------------------
// | 控制台配置
// +----------------------------------------------------------------------
return [
    // 指令定义
    'commands' => [
        'crud'             => 'app\command\Crud',
        'picking:store'    => 'app\command\company\PickingStore',//定时任务,分拣单-门店
        'picking:line'     => 'app\command\company\PickingLine',//定时任务,分拣单-路线
        'deliver:task'     => 'app\command\company\DeliverTask',//定时任务,生成运单(司机任务)
        'company:stat'     => 'app\command\company\Stat',//日统计
        'supplier:stat'    => 'app\command\company\StatSupplier',//日统计
        'dividend:company' => 'app\command\company\DividendCompany',//生成公司分红设置

        'websocket:track' => 'app\ws\command\Track',//websocket-跟踪 TODO 生产待完善

        'picking:goods'     => 'app\command\company\PickingGoods',//TODO 定时任务,分拣单-公司商品

        'data:change:1' => 'app\command\company\data_change\CompanyOrderStorage',//库存表中添加经销商ID
        'data:change:2' => 'app\command\company\data_change\WarehouseStorageGoodsLogs',//出入库表中添加经销商ID/公司ID
        'data:change:3' => 'app\command\company\data_change\AddGoodsCateId',//从采购-入库-销售 整个声明周期 记录分类id
        'data:change:4' => 'app\command\company\data_change\WarehouseStorageGoodsLogs1',//出入库表中添加金额
        'data:change:5' => 'app\command\company\data_change\GoodsRule',//基础商品库添加no字段,规格添加sku字段
        'data:change:6' => 'app\command\company\data_change\Dividend',//添加公司分红比例信息
        'data:change:7' => 'app\command\company\data_change\DividendSupplier',//添加公司分红比例信息

        'int:store_salesman' => 'app\command\company\StoreSalesman',//初始化门店业务员 TODO 生产代执行
        'data:add_store_supplier' => \app\command\company\AddStoreSupplier::class,//邓州门店经销商关联 TODO 生产代执行
    ],
];
